package com.ibeeking.found.log.service.common.param;

import com.ibeeking.nematos.utils.base.BaseValidationGroup;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @ClassName LogCodeParam 
 * @Description
 * @Author ibeeking
 * @Date 2021-02-25 16:42
 **/
@Data
public class LogCodeParam implements Serializable {
private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@NotNull(message = "id不能为空", groups = {BaseValidationGroup.Update.class})
	private Long id;

	/**
	 * 日志编码
	 */
	@NotBlank(message = "日志编码不能为空!")
	private String code;

	/**
	 * 日志描述
	 */
	@NotBlank(message = "日志描述不能为空!")
	private String description;

	/**
	 * 日志分组 id
	 */
	private List<Long> groupIdList;


}
